package com.yue.wx.controller;

import com.yue.wx.service.MenuMain;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhengyl
 * @description
 * @date 2020/8/21 9:55
 */
@Controller
@RequestMapping("menu")
public class MenuController {
    @Autowired
    private MenuMain menuMain;

    @GetMapping("/create")
    public void home() {
        menuMain.createMenu();
    }
}
